package com.kang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kang.bean.Photo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PhotoMapper extends BaseMapper<Photo> {

    List<Photo> findByGroupIdAndSortId(@Param("groupId") Long groupId);
}
